package com.coa.main;

import com.coa.cadastros.Fachada;
import com.coa.educacao.Aluno;
import com.coa.educacao.Professor;
import com.coa.educacao.Turma;

import exceptions.ExceptionCadastro;
import aspects.*;


public class Programa {


	public static void main(String[] args) {
		
		Fachada fachada = Fachada.getInstancia();
		
		try {
			fachada.cadastrarAluno(new Aluno("Elliackin","02365","123","",null,null,5));
			
			fachada.cadastrarAluno(new Aluno("Elliackin","02363","123","",null,null,5));
			
			fachada.removerAluno("02365");
			
			fachada.cadastrarProfessor(new Professor("","00","",""));
			fachada.cadastrarProfessor(new Professor("","01","",""));
			
			fachada.cadastrarTurma(new Turma("AB",0,0,null));
			fachada.cadastrarTurma(new Turma("AB",0,0,null));
			
			fachada.atualizarAluno(new Aluno("Elliackin","02363","123","",null,null,5));
			
			
			//System.out.println(AspectoEstatistica.getNAlunosCadastrados());
			
			
			
			
			
			
		} catch (ExceptionCadastro e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		
		
		
		
		
	}
	
	
	

	
	
}
